package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.GameZpRecordDao;
import com.vf.admin.miaodong.entity.GameZpRecord;
import com.vf.admin.miaodong.service.GameZpRecordService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
/**
 * 大转盘记录
 */
@Service
public class GameZpRecordServiceImpl implements GameZpRecordService {
    private final Logger logger = LoggerFactory.getLogger(this.getClass());
    @Autowired
    private GameZpRecordDao zpRecordDao;

    /**
     * 保存或者更新
     */
    @Override
    public void save(GameZpRecord zpRecord) {
        zpRecordDao.save(zpRecord);
    }

    /**
     * 列表查询
     * @param paraMap
     * @param splitPage
     * @return
     */
    @Override
    public List<GameZpRecord> findList(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return zpRecordDao.findList(paraMap,splitPage);
    }

}
